package com.chen.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cgj
 * @date 2/20/25 7:55 PM
 */
@Mapper
public interface SysUserRoleMapper {
    void deleteRoleByUid(Long userId);


    void insertAssignRole(@Param("userId") Long userId, @Param("roleId") Long roleId);

    List<Long> selectRoleByUserId(Long uid);
}
